package com.lcb123.framework.repository;

import java.util.List;

import com.lcb123.framework.domain.Authority;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RestResource;



@RestResource(exported = false)
public interface AuthorityRepository extends CrudRepository<Authority, Long> {

    List<Authority> findByUsername(String username);

}
